// 获取左侧分类
import { http } from '@/utils/http.ts'
import type { categoryItem } from '@/types/category'
export const getCategoryItemApi = () => {
  return http<categoryItem[]>({
    url: '/category/top',
    method: 'GET',
  })
}
